00001
00002
00004
00005 #if !defined(AFX_POCKETANIMATORDOC_H__1D748B58_5102_418A_A71F_36D23CA67C9F__INCLUDED_)
00006 #define AFX_POCKETANIMATORDOC_H__1D748B58_5102_418A_A71F_36D23CA67C9F__INCLUDED_
00007
00008 #include "Shape.h"
00009 #include "DocumentProperties.h"
00010
00011 #include "Controller.h"
00012 #include "KeyController.h"
00013 #include "Color.h"
00014
00015 #include "Sipapi.h"
00016 #include "Color.h"
00017 #include <vector>
00018
00019
00020 #if _MSC_VER >= 1000
00021 #pragma once
00022 #endif // _MSC_VER >= 1000
00023
00024
00025 class CPocketAnimatorDoc : public CDocument
00026 {
00027 protected:
00028 CPocketAnimatorDoc();
00029 DECLARE_DYNCREATE(CPocketAnimatorDoc)
00030
00031
00032 public:
00033 SIZE canvas_size;
00034 vector<VShape*> elements;
00035
00036 VColor colorcanvas;
00037
00038 int startframe, endframe;
00039 int m_nFPS;
00040
00041
00042 public:
00043
00044
00045
00046
00047 public:
00048 virtual BOOL OnNewDocument();
00049 virtual void Serialize(CArchive& ar);
00050
00051
00052
00053 public:
00054 bool ExportFlash(ScreenState *pState);
00055 SIZE GetDocSize();
00056 virtual ~CPocketAnimatorDoc();
00057 #ifdef _DEBUG
00058 virtual void AssertValid() const;
00059 virtual void Dump(CDumpContext& dc) const;
00060 #endif
00061
00062 protected:
00063
00064
00065 protected:
00066
00067
00068 DECLARE_MESSAGE_MAP()
00069 };
00070
00072
00073
00074
00075
00076 #endif // !defined(AFX_POCKETANIMATORDOC_H__1D748B58_5102_418A_A71F_36D23CA67C9F__INCLUDED_)